package util;

import java.io.BufferedWriter;
import java.io.FileReader;
import java.io.FileWriter;
import java.io.IOException;
import java.io.PrintWriter;

public class FileIOHelper {


	public void writeFile(String fileName, String context) throws IOException {
		
		FileWriter fw;
		BufferedWriter bw;
		PrintWriter pw;
				
		fw = new FileWriter(fileName);
		bw = new BufferedWriter(fw);
		pw = new PrintWriter(bw);
		
		pw.append(context);		
		pw.close();
	}
	
	public String readFile(String fileName) {
	
		FileReader fr;
		
		
		
		return fileName;
		
	}
	
	
}
